package com.inspur.demo.core;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;

/**
 * @ClassName SysUser
 * @Description TODO
 * @Company inspur
 * @Author Mark.Zhang
 * @Date 2019/5/16 17:43
 * @Version 1.0 
 */
@Configuration
@PropertySource("classpath:constant.properties")
@ConfigurationProperties(prefix = "com.inspur")
@Data
public class SysUser {
    private String name;
    private String password;
}
